#
# import requests
#
# #上传
# files = {'file': open("成绩表.xls", 'rb')}
# print(files)
# aa=requests.post('http://127.0.0.1:5000/api/upfile/upload',data={"year":2018},files=files)
# print(aa.text)
# #处理
# bb=requests.post('http://127.0.0.1:5000/api/handle/handleFile/achievementData')
# print(bb.text)
#
#
# files = {'file': open("性格测试数据修改版.xlsx", 'rb')}
# print(files)
# cc=requests.post('http://127.0.0.1:5000/api/upfile/upload',data={"year":2018},files=files)
# print(cc.text)
#
# dd=requests.post('http://127.0.0.1:5000/api/handle/handleFile/characterData')
# print(dd.text)
#
# files = {'file': open("2018、19已报到未报到学生基本情况.xls", 'rb')}
# print(files)
# ee=requests.post('http://127.0.0.1:5000/api/upfile/upload',data={"year":2018},files=files)
# print(ee.text)
#
# files = {'file': open("2018、2019年学生借书记录清单.xlsx", 'rb')}
# print(files)
# ee=requests.post('http://127.0.0.1:5000/api/upfile/upload',data={"year":2018},files=files)
# print(ee.text)

import requests

# ff=requests.post('http://127.0.0.1:5000/api/handle/handleFile/studentData')
# print(ff.text)
#
# cc=requests.post('http://127.0.0.1:5000/api/handle/handleFile/characterData')
# print(cc.text)
#
# bb=requests.post('http://127.0.0.1:5000/api/handle/handleFile/achievementData')
# print(bb.text)

# aa=requests.post('http://127.0.0.1:5000/api/handle/handleFile/bookData')
# print(aa.text)


aa=requests.get('http://127.0.0.1:5000/api/jiaoyu/bookMajor')
print(aa.text)